<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./WEB-INF/templates/template.xhtml">

            <ui:define name="content">

                <f:loadBundle basename="org.inftel.scrum.message.Messages" var="msg"/>   
                <div class="clear"></div>
                <h1> Stadistics </h1>
                <div class="clear"></div>
                <div class="grid_16">

                    <p:lineChart id="linear" value="#{chartsBean.linearModel}" legendPosition="e"  
                                 title="Finished Tasks By User" maxX="#{chartsBean.maxDate}" showMarkers="true" enhancedLegend="true" minY="-10" maxY="200" style="height:300px" yaxisLabel="Task Time" xaxisLabel="Date"/>  
                    <div class="clear"></div>
                    <p:lineChart id="linear2" value="#{chartsBean.linearModel3}" legendPosition="e"  fill="true"
                                 title="Gráfico de esfuerzo" maxX="#{chartsBean.maxDate}" showMarkers="true" enhancedLegend="true" minY="-10" maxY="200" style="height:300px" yaxisLabel="Task Time" xaxisLabel="Date"/>  
                    

                </div>
                <div class="clear"></div>                 
            </ui:define>

        </ui:composition>

    </body>
</html>
